<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>我的首页</title>

<%
int userid = (Integer)session.getAttribute("userid");
String username = (String)session.getAttribute("username");
String company = (String)session.getAttribute("company");
%>

<script type="text/javascript" src="./js/jsonConvert.js"></script>
<script type="text/javascript">


</script>
</head>
<body onload="getAllFeeds();">
<input type="hidden" id="userid" value=<%=userid%>/>
<%out.println("<h3>Hello, " + username + "!  <h3><h5>" + company +"</h5>"); %>
  <br>
  <a href="javascript:getAllFeeds();" style=text-decoration:none>我的首页</a>
  <a href="javascript:getMyFeeds();" style=text-decoration:none>我的微博</a>
  <br><br>
  <div id="publishFeedDiv">
    <textarea id="publishFeedArea" cols="50" rows="5" name="publishFeedText">说点儿什么吧。。。</textarea>
    <br>
    <input type="button" value="发布" onclick="javascript:publishFeed();">
  </div>
  <br>
  <div id="feedDiv">
  </div>


</body>
</html>